import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);

const state = {
  token: localStorage["token"] ? localStorage["token"] : "",
  devId: localStorage["devId"] ? localStorage["devId"] : "",
  companyName: localStorage["companyName"] ? localStorage["companyName"] : ""
};
const mutations = {};
const actions = {};
const getters = {};
export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters
});
